//
//  MenuViewController.h
//  BobNews
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 lanou3g. All rights reserved.
//


/*
    封装菜单项
 */


#import <UIKit/UIKit.h>

@protocol MenuClickDelegate <NSObject>

- (void)didClickMenuIndex:(NSInteger)index Title:(NSString *)title;

@end

@interface MenuViewController : UIViewController

@property (nonatomic,strong) UIViewController *leftViewController;

@property (nonatomic,strong) UIViewController *centerViewController;

@property (nonatomic,assign,readonly) BOOL isShow;

@property (nonatomic,weak) id<MenuClickDelegate>MenuDelegate;

@property (nonatomic,strong) NSMutableArray *menuArray;

+(instancetype)instancetypeWithMenuLeftViewController:(UIViewController *)leftVC CenterViewController :(UIViewController *)centerVC;

+(instancetype)getMenu;

-(void)openMenu;

-(void)closeMenu;






@end
